package com.lovo.commom.WebRemote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "sscwebtwo", path = "/order", contextId = "webOrderId")
public interface IWebOrderRemote {
    @RequestMapping("updateStatusRemote/{orderNum}/{status}")
    public String updateStatusRemote(@PathVariable("orderNum") String orderNum, @PathVariable("status") int status);

    @RequestMapping("/updateRefund/{orderNum}/{status}/{updateDate}/{adminName}")
    public boolean updateRefund(@PathVariable("orderNum")String orderNum,@PathVariable("status")int status,@PathVariable("updateDate")String updateDate,@PathVariable("adminName")String adminName);

}
